package com.apiversion.apiversion.controller.v2;

import com.apiversion.apiversion.configuration.ApiVersion;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: admin
 * @Description:
 * @Date: 2019/1/2 14:00
 */

@RestController()

@RequestMapping("/{version}/home")
public class HomeControllerV2 {

    @GetMapping("/hello")
    public String hello(){
        return "hello-V2";
    }
}
